package cn.com.clearbus.entity;


import cn.com.clearbus.base.BaseEntity;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * <p>
 * 
 * </p>
 *
 * @author liuwz
 * @since 2019-07-15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
//@Entity
//@Table(name = "c_user")
//@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
//@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler" })
public class CUser extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    @Id
//    @GeneratedValue(generator = "jpa-uuid")
//    @Column(length = 32)
    protected String id;
    /**
     * 用户名
     */
    private String username;

    /**
     * 密文密码
     */
    private String password;

    /**
     * 性别: 默认是 男:0 , 女:1 
     */
    private Boolean sex;

    /**
     * 手机号码
     */
    private String tel;

    /**
     * 存在状态  存在:0  不存在:1
     */
    private Boolean status;

    /**
     * 所属系统
     */
    private String belong;


}
